import request from '@/utils/request'

/**
 * Vip学员库配置-列表
 * @param {*} data
 *
 */
export function vipStuConfigListApi(data) {
    return request({
        url: 'adminStudentPool/queryPageList',
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
}
/**
 * Vip学员库配置-查询详细
 * @param {*} data
 *
 */
export function vipStuConfigDetail(id) {
    return request({
        url: 'adminStudentPool/queryById/' + id,
        method: 'get',
    })
}
/**
 * Vip学员库配置-更新数据
 * @param {*} data
 *
 */
export function vipStuConfigUpdate(data) {
    return request({
        url: 'adminStudentPool/update',
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
}